{include file="public/header" /}</head>
<style type="text/css">
	
	.layui-table th{
		width: 400px !important;
	}
</style>

<body class="layui-anim">
<div class="x-nav layui-row">
	<span class="layui-breadcrumb layui-col-md9 layui-col-sm9">
		<a href="javascript:;">首页</a>
		{if $_page_navi.0}<a href="javascript:;">{$_page_navi.0.NavName}</a>{/if}
		{if $_page_navi.1}<a><cite>{$_page_navi.1.NavName}</cite></a>{/if}
	</span>
	<a class="layui-btn layui-btn-small" style="float:right" href="javascript:location.replace(location.href);" title="刷新"><i class="layui-icon">&#xe9aa;</i></a>
</div>
<div class="x-body">
	<blockquote class="layui-elem-quote layui-clear " style="padding: 5px;line-height: 38px;">
		<span style="font-size: 16px;"><i class="layui-icon">&#xe653;</i>&nbsp;{$_page_navi.1.NavName}</span>
	</blockquote>
	<xblock>
		<!--<button class="layui-btn layui-btn-danger stateAll" data-value="true" data-confirm="确认要删除吗？" url="{:URL(request()->controller().'/state',['key'=>'is_del'])}"><i class="layui-icon"></i>批量删除</button>-->
<!--		<button class="layui-btn" onclick="zhiju_show('添加','{:URL(request()->controller().\'/add\',[\'type\'=>$Request.param.type])}',500,500)">-->
<!--			<i class="layui-icon">&#xe61f;</i>添加-->
<!--		</button>-->
		<span class="x-right" style="line-height:40px">共有数据：{$list->total()} 条</span>
	</xblock>
    <div style="overflow-x: scroll;width: 100%;">

		<table class="layui-table layui-form" style="min-width: 2000px;">
			<thead>
			<tr>
				<th>ID</th>
				<th>等级名称</th>
				<th>直推人数</th>
				<th>佣金累计</th>
			<!-- 	<th>报单直推奖</th>
				<th>复购直推奖</th>
				<th>报单培育奖</th>
				<th>复购培育奖</th>
				<th>加权分红</th> -->
				<th>操作</th>
			</tr>
			</thead>
			<tbody>
			{volist name="list" id="v"}
			<tr class="data_line" data_id="{$v.id}">
				<td>{$v.id}</td>
				<td>{$v.title}</td>
				<!-- <td>{$v.investment}元</td> -->
				<td>{$v.rec_num}</td>
				<td>{$v.bonus_sum}</td>
				<!-- <td>{$v.rec_award1}</td>
				<td>{$v.rec_award2}</td>
				<td>{$v.grade1}</td>
				<td>{$v.grade2}</td>
				<td>{$v.reward}</td> -->
				
				<td class="td-manage">
					<div class="layui-btn-group">
						<a class="layui-btn layui-btn-sm" onclick="zhiju_show('编辑','{:URL(request()->controller().\'/add\',[\'id\'=>$v.id,\'type\'=>$Request.param.type])}',500,1000)" href="javascript:;">编辑</a>
					</div>
				</td>
			</tr>
			{/volist}
			</tbody>
		</table>
	</div>
	<div class="page"><div>{$list->render()}</div></div>
</div>
</body>
</html>